package com.sasac.test.service;

import com.sasac.test.domain.Student;
import com.sasac.test.projection.StudentProjection;
import org.springframework.data.domain.Page;

import java.util.List;

public interface IStudentService {

    Student findById(Long id);

    StudentProjection findStudentInfo(Long id);

    Page<StudentProjection> findStudentInfo1(Long id);

    List<StudentProjection> findStudentInfo2(Long id);

//    List<User> findAll();
}
